/*
 * @Author: 千锋爱佛僧
 * @公众号: 大前端私房菜
 * @Slogan: 千锋精品教程，好学得不像实力派！
 */
export default {
  tooltip: {
    trigger: "item",
  },
  legend: {
    bottom: "0",
    left: "center",
  },
  color: ["#5DA8FF", "#8E9DFF", "#FEDC69", "#26DECA"],
  series: [
    {
      name: "Access From",
      type: "pie",
      radius: ["40%", "70%"],
      avoidLabelOverlap: false,
      itemStyle: {
        borderRadius: 10,
        borderColor: "#fff",
        borderWidth: 2,
      },
      label: {
        show: false,
        position: "center",
      },
      emphasis: {
        label: {
          show: true,
          fontSize: 16,
          fontWeight: "bold",
        },
      },
      labelLine: {
        show: false,
      },
      data: [
        { value: 1048, name: "前端开发" },
        { value: 735, name: "Java后端" },
        { value: 580, name: "Python人工智能" },
        { value: 484, name: "PHP开发" },
        { value: 300, name: "运维" },
      ],
    },
  ],
};
